import service from "../utils/request";
// 视频列表
export const videoList = (params) => {
	return service.get('/video-list/page', { params });
};

// 新增修改视频
export const upVideo = (data) => {
	return service.post("/video-list/insert", data)
}

//删除视频
export const delVideo = (id) => {
	return service.delete("/video-list/delete/" + id)
}

//查询视频信息
export const getVideoInfo = (id) => {
	console.log("id", id)
	return service.get("/video-list/info/" + id)
}